$OpenBSD: patch-gettext-tools_gnulib-lib_Makefile_in,v 1.4 2016/08/31 13:53:11 naddy Exp $

Use standard shared library versioning.

Do not remove static library after building.
This was also a race if MAKE_JOBS > 1.

--- gettext-tools/gnulib-lib/Makefile.in.orig	Sat Jun 11 15:01:11 2016
+++ gettext-tools/gnulib-lib/Makefile.in	Wed Aug 31 13:02:31 2016
@@ -2482,7 +2482,7 @@ libgettextlib_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined
 	$(ISNAND_LIBM) $(ISNANF_LIBM) $(ISNANL_LIBM) $(LIB_ACL) \
 	$(LOG10_LIBM) $(LTLIBICONV) $(LTLIBINTL) $(LTLIBTHREAD) \
 	$(LTLIBUNISTRING) $(OPENMP_CFLAGS) $(POW_LIBM) \
-	@INTL_MACOSX_LIBS@ -release @VERSION@ $(am__append_3) \
+	@INTL_MACOSX_LIBS@ $(am__append_3) \
 	$(am__append_12) $(am__append_36)
 
 # Use this preprocessor expression to decide whether #include_next works.
@@ -3717,7 +3717,7 @@ getopt.h: getopt.in.h $(top_builddir)/config.status $(
 	mv -f $@-t $@
 
 # No need to install libgettextlib.a, except on AIX.
-install-exec-local: install-libLTLIBRARIES install-exec-clean
+install-exec-local: install-libLTLIBRARIES
 install-exec-clean:
 	case "@host_os@" in \
 	  aix*) ;; \
